package enit

type User struct {
	Id       int32  `form:"id" json:"id"`
	Mobile   string `form:"mobile" json:"mobile"`
	Nickname string `form:"nickname" json:"nickname"`
	Age      int32  `form:"age" json:"age"`
	Sex      int32  `form:"sex" json:"sex"`
	Addr     string `form:"addr" json:"addr"`
}

type UserXy struct {
	Id          int32 `form:"id" json:"id"`
	UserId      int32 `form:"userId" json:"userId"`
	CreditScore int32 `form:"creditScore" json:"creditScore"`
}

type OrderCar struct {
	Id            int32  `form:"id" json:"id"`
	UserId        int32  `form:"userId" json:"userId"`
	OddNumber     int32  `form:"oddNumber" json:"oddNumber"`
	Distance      string `form:"distance" json:"distance"`
	Time          string `form:"time" json:"time"`
	Price         int32  `form:"price" json:"price"`
	PaymentMethod int32  `form:"paymentMethod" json:"paymentMethod"`
}

type TakeCar struct {
	Origin         string `form:"origin" json:"origin"`
	Destination    string `form:"destination" json:"destination"`
	EstimatedPrice int32  `form:"estimatedPrice" json:"estimatedPrice"`
	Price          int32  `form:"price" json:"price"`
}

type Eva struct {
	Id       int32  `form:"id" json:"id"`
	DriverId int32  `json:"driverId" json:"driverId"`
	UserId   int32  `form:"userId" json:"userId"`
	Score    int32  `form:"score" json:"score"`
	Comment  string `form:"comment" json:"comment"`
}
